import Cookies from 'js-cookie'

export const getVideoData = () => {
  return JSON.parse(Cookies.get('video-data'))
}

export const setVideoData = data => {
  return Cookies.set('video-data', JSON.stringify(data))
}
